AXIS#.SWLS.EN

Description

This parameter enables the software travel limit switches.


  • The software limit switches are only active if the axis is homed.

Examples

Usage

0: Disable both software limit switches

1: Enable software limit switch 0, AXIS#.SWLS.LIMIT0

2: Enable software limit switch 1, AXIS#.SWLS.LIMIT1

3: Enable both software limit switches

 

If AXIS#.SWLS.EN = 3, then whichever limit switch is set to a greater value will be used as the upper limit switch. For all other values of AXIS#.SWLS.EN, use AXIS#.SWLS.LIMIT0 for the lower limit switch and AXIS#.SWLS.LIMIT1 for the upper limit switch.

"AXIS#.CS.DEC " is executed when a SWLS is triggered. The user can set the CS.DEC value, or go with the default 10,000 rpm/s. Once the switch is triggered, a warning W6006 results, and the position/load must be moved back within the limits to remove the warning.

Code

Axis 1 lower limit switch set to 1000 and upper limit switch set to 5000. Axis 1 home position is set and then both software limit switches are enabled.

-->AXIS1.SWLS.LIMIT0 1000

-->AXIS1.SWLS.LIMIT1 5000

-->AXIS1.HOME.SET

-->AXIS1.SWLS.EN 3

Context

For more information on limit switches, refer to Limits.

Versions

Action Version Notes
Implemented 02-00-00-000

General Information

Type Read/Write
Units N/A
Range 0 to 3
Default Value 0
Data Type Integer
See Also AXIS#.SWLS.STATE, AXIS#.SWLS.LIMIT0, AXIS#.SWLS.LIMIT1
Stored in Non Volatile Memory Yes

Variants Supported

All variants are supported.

Fieldbus Information

EtherCAT CoE and CANopen

Command

Index

SubIndex

Data Type

Units

Float Scale

Access

PDO Mappable

AXIS1.SWLS.EN

500fh

01h

Unsigned8

-

-

Read/Write

No

AXIS2.SWLS.EN

510fh

01h

Unsigned8

-

-

Read/Write

No

EtherNet/IP

Name

ID

Hex

Data Type

Access

Units

AXIS1.SWLS.EN

6500

1964

Unsigned8

Read/Write

-

AXIS2.SWLS.EN

72036

1196

Unsigned8

Read/Write

-

PROFINET

Parameter

PNU

Data Type

Access

Units

AXIS#.SWLS.EN

6500

Unsigned8

Read/Write

-